using System;
using System.Collections.Generic;
using System.Text;

using NHibernate;
using Zwms.Data.Base;
using System.Runtime.Serialization;

namespace Zwms.Data.BusinessObjects
{
    [DataContract]
    public partial class BilPickBill : BusinessBase<string>
    {
        #region Declarations
        private string _pickType = String.Empty;
        private string _priority = String.Empty;
        private string _pickDate = String.Empty;
        private string _pickTime = String.Empty;
        private string _locationCode = String.Empty;
        private string _locationName = String.Empty;
        private string _billStatus = String.Empty;
        private string _isDeactived = String.Empty;
        private string _createUserCode = String.Empty;
        private string _createUserName = String.Empty;
        private string _createDate = String.Empty;
        private string _createTime = String.Empty;
        private string _editUserCode = String.Empty;
        private string _editUserName = String.Empty;
        private string _editDate = String.Empty;
        private string _editTime = String.Empty;
        private string _remark = String.Empty;



        #endregion

        #region Constructors

        public BilPickBill() { }

        #endregion

        #region Methods

        public override int GetHashCode()
        {
            System.Text.StringBuilder sb = new System.Text.StringBuilder();

            sb.Append(this.GetType().FullName);
            sb.Append(_pickType);
            sb.Append(_priority);
            sb.Append(_pickDate);
            sb.Append(_pickTime);
            sb.Append(_locationCode);
            sb.Append(_locationName);
            sb.Append(_billStatus);
            sb.Append(_createUserCode);
            sb.Append(_createUserName);
            sb.Append(_createDate);
            sb.Append(_createTime);
            sb.Append(_editUserCode);
            sb.Append(_editUserName);
            sb.Append(_editDate);
            sb.Append(_editTime);
            sb.Append(_remark);

            return sb.ToString().GetHashCode();
        }

        #endregion

        #region Properties

        [DataMember]
        public virtual string PickType
        {
            get { return _pickType.TrimEnd(); }
            set
            {
                _pickType = value;
            }
        }

        [DataMember]
        public virtual string Priority
        {
            get { return _priority.TrimEnd(); }
            set
            {
                _priority = value;
            }
        }

        [DataMember]
        public virtual string PickDate
        {
            get { return _pickDate.TrimEnd(); }
            set
            {
                _pickDate = value;
            }
        }

        [DataMember]
        public virtual string PickTime
        {
            get { return _pickTime.TrimEnd(); }
            set
            {
                _pickTime = value;
            }
        }

        [DataMember]
        public virtual string LocationCode
        {
            get { return _locationCode.TrimEnd(); }
            set
            {
                _locationCode = value;
            }
        }

        [DataMember]
        public virtual string LocationName
        {
            get { return _locationName.TrimEnd(); }
            set
            {
                _locationName = value;
            }
        }

        [DataMember]
        public virtual string BillStatus
        {
            get { return _billStatus.TrimEnd(); }
            set
            {
                _billStatus = value;
            }
        }

        [DataMember]
        public virtual string IsDeactived
        {
            get { return _isDeactived; }
            set
            {
                _isDeactived = value;
            }
        }

        [DataMember]
        public virtual string CreateUserCode
        {
            get { return _createUserCode.TrimEnd(); }
            set
            {
                _createUserCode = value;
            }
        }

        [DataMember]
        public virtual string CreateUserName
        {
            get { return _createUserName.TrimEnd(); }
            set
            {
                _createUserName = value;
            }
        }

        [DataMember]
        public virtual string CreateDate
        {
            get { return _createDate.TrimEnd(); }
            set
            {
                _createDate = value;
            }
        }

        [DataMember]
        public virtual string CreateTime
        {
            get { return _createTime.TrimEnd(); }
            set
            {
                _createTime = value;
            }
        }

        [DataMember]
        public virtual string EditUserCode
        {
            get { return _editUserCode.TrimEnd(); }
            set
            {
                _editUserCode = value;
            }
        }

        [DataMember]
        public virtual string EditUserName
        {
            get { return _editUserName.TrimEnd(); }
            set
            {
                _editUserName = value;
            }
        }

        [DataMember]
        public virtual string EditDate
        {
            get { return _editDate.TrimEnd(); }
            set
            {
                _editDate = value;
            }
        }

        [DataMember]
        public virtual string EditTime
        {
            get { return _editTime.TrimEnd(); }
            set
            {
                _editTime = value;
            }
        }

        [DataMember]
        public virtual string Remark
        {
            get { return _remark.TrimEnd(); }
            set
            {
                _remark = value;
            }
        }
        #endregion
    }
}